home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 051-075 / scopedisk62 / mfr / midiclock.h < prev   
C/C++ Source or Header  |  1995-03-19  |  423b  |  16 lines

  1.  
  2. #define MIDICLOCKNAME "MidiClock"
  3. #define mc_data(t)    ((struct MidiClockData *)(t)->tc_UserData)
  4. #define mc_counter(m) ((m)->counter)
  5. #define mc_intrval(m) ((m)->intrvl)
  6.  
  7. struct MidiClockData { /* where timer process writes its data */
  8.     unsigned long counter;
  9.     unsigned long intrvl;
  10.     };
  11.  
  12. struct mc_Msg { /* message structure for communicating with timer process */
  13.     struct Message msg;
  14.     unsigned long command, data;
  15.     };
  16.